<div class="modal-content" ng-controller="balanceCtrl">

    </br>
    <div class="modal-header">
        <button type="button" class="close" ng-click="myopen.opt_close()" aria-label="Close">
      <em class="ion-ios-close-empty sn-link-close"></em>
    </button>
        <h3 class="modal-title text-center">
            <samll>红包记录</samll>
        </h3>
    </div>
    <form class="form-horizontal ng-pristine ng-valid ng-scope">
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">*时间段：</label>
            <div class="col-sm-4">
                <input type="date" style="width: 100%;" id="dat5" class="form-control border-r5 width-100">
            </div>
            <div class="col-sm-4 col-sm-offset-1">
                <input type="date" style="width: 100%;" id="dat6" class="form-control border-r5 width-100">
            </div>
        </div>
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">*红包活动：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" id="inputEmail3" placeholder="红包活动名称" maxlength="150" ng-model="search_opt.activityname">
            </div>
            <div class="col-sm-2  text-right">
                <button type="submit " class="btn btn-primary " ng-click="Search()">搜索</button>
            </div>
        </div>
        <!--<div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">选择类型：</label>
            <div class="col-sm-4">
                <div class="col-sm-4"><label class="radio-inline custom-radio nowrap"><input type="radio" name="inlineRadioOptions" id="inlineRadio1" value="全部" ng-checked="true" checked="checked"> <span>全部</span></label></div>
                <div class="col-sm-4"><label class="radio-inline custom-radio nowrap"><input type="radio" name="inlineRadioOptions" id="inlineRadio3" value="收入"> <span>收入</span></label></div>
                <div class="col-sm-4"><label class="radio-inline custom-radio nowrap"><input type="radio" name="inlineRadioOptions" id="inlineRadio4" value="支出"> <span>支出</span></label></div>
            </div>
            
            <div class="col-sm-2 text-right ">
                <label>
                    <select class="form-control selectpicker show-tick " title="10 " selectpicker ng-model="smartTablePageSize " ng-options="i for i in [5,10,15,20,25] ">
                    </select>
                </label>
            </div>
        </div>-->
        <div style="min-height:300px;padding: 20px; ">
            <table class="table table-bordered ">
                <thead>
                    <tr valign="middle  text-center">
                        <th class="browser-icons "></th>
                        <th class=" text-center ">金额</th>
                        <th class=" text-center ">红包活动</th>
                        <th class=" text-center ">日期</th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="list in list_data">
                        <td class=" text-center ">{{list.num}}</td>
                        <td class=" text-center ">{{list.amount/100}}￥</td>
                        <td class=" text-center ">{{list.activityname}}</td>
                        <td class=" text-center ">{{list.createtime|date:'yyyy-MM-dd hh:mm'}}</td>
                    </tr>

                </tbody>
            </table>
        </div>
        <div class="text-center row" style="padding: 20px; ">
            <div class="col-sm-6 text-right">
                <ul style=" margin: 0; " uib-pagination total-items="bigTotalItems " previous-text="上一页 " next-text="下一页 " first-text="首页 " last-text="尾页 " ng-model="search_opt.page " ng-change="pageChanged(search_opt.page) " max-size="maxSize " class="pagination-sm
                " boundary-links="true " num-pages="numPages " items-per-page="search_opt.limit"></ul>
            </div>

            <div class="col-sm-6 text-left"><label>
                         <select style="height: 30px;font-weight: 300;" class="form-control"  selectpicker ng-model="search_opt.limit"  ng-change="Search()"  ng-options="i for i in [5,10,20,50,100]">
                        </select>
                    </label> /条（每页）</div>
        </div>

    </form>
    </br>
</div>